package com.jwsoft.manager.common.vo.eduSchoolVacancy;

import com.bifang.assistant.common.vo.BaseVO;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jwsoft.manager.common.vo.eduSchoolConfig.SchoolConfigVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 学校缺额表VO
 *
 * @author hhj
 * @since 2022-12-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Schema(name = "EduSchoolVacancyVO", title = "学校缺额表VO", description = "学校缺额表实体类")
public class EduSchoolVacancyVO extends BaseVO {

    @Schema(name = "schoolVacancyId", title = "主键")
    private String schoolVacancyId;

    @Schema(name = "year", title = "年度")
    private Integer year;

    @Schema(name = "schoolId", title = "学校id")
    private String schoolId;

    @Schema(name = "orgId", title = "学校id")
    private String orgId;

    @Schema(name = "schoolNum", title = "学校代码")
    private String schoolNum;

    @Schema(name = "schoolName", title = "学校名称")
    private String schoolName;

    @Schema(name = "shortName", title = "简称")
    private String shortName;

    @Schema(name = "creditCode", title = "统一社会信用代码")
    private String creditCode;

    @Schema(name = "schoolNature", title = "学校性质0.公办 1.民办")
    private String schoolNature;

    @Schema(name = "schoolNatureName", title = "学校性质0.公办 1.民办 Name")
    private String schoolNatureName;

    @Schema(name = "schoolCategory", title = "学校类别")
    private String schoolCategory;

    @Schema(name = "schoolCategoryName", title = "学校类别Name")
    private String schoolCategoryName;

    @Schema(name = "street", title = "所属街道")
    private String street;

    @Schema(name = "streetName", title = "所属街道Name")
    private String streetName;

    @Schema(name = "areaCode", title = "行政区划")
    private String areaCode;

    @Schema(name = "areaName", title = "行政区划name")
    private String areaName;

    @Schema(name = "orderBy", title = "排序字段")
    private Integer orderBy;

//    @Schema(name = "configList", title = "学校配置")
//    private List<EduSchoolConfigVO> configList;

    @Schema(name = "vacancyNum", title = "缺额数量")
    private Integer vacancyNum;

    @Schema(name = "authStatus", title = "审核状态")
    private String authStatus;

    @Schema(name = "authRemarks", title = "审核意见")
    private String authRemarks;

    @Schema(name = "authTime", title = "审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date authTime;

    @Schema(name = "authUserId", title = "审核人")
    private String authUserId;

    @Schema(name = "createName", title = "创建人")
    private String createName;

    @Schema(name = "createTime", title = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @Schema(name = "vacancyEnrollNum", title = "缺额报名数")
    private Integer vacancyEnrollNum;

    @Schema(name = "configList", title = "学校配置")
    private List<SchoolConfigVO> configList;
}
